package com.ruoyi.merchant.msg.resp;

import java.util.Date;

/**
 * 响应消息基类
 * 
 * @author lenovo
 *
 */
public abstract class AbstractRespMsg {

	/**
	 * 头指令
	 */
	private String header;

	/**
	 * 指令编码
	 */
	private short cmdCode;

	/**
	 * 发送端类型
	 */
	private short sender;

	/**
	 * 发送相关id
	 */
	private String refId;
	/**
	 * 发送时间
	 */
	private Date sendTime;
	/**
	 * 结果: 0  失败,1  成功
	 */
	private String result;
	/**
	 * 错误码
	 */
	private short errcode;

	public String getHeader() {
		return header;
	}

	public void setHeader(String header) {
		this.header = header;
	}

	public short getCmdCode() {
		return cmdCode;
	}

	public void setCmdCode(short cmdCode) {
		this.cmdCode = cmdCode;
	}

	public short getSender() {
		return sender;
	}

	public void setSender(short sender) {
		this.sender = sender;
	}

	public String getRefId() {
		return refId;
	}

	public void setRefId(String refId) {
		this.refId = refId;
	}

	public Date getSendTime() {
		return sendTime;
	}

	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	public short getErrcode() {
		return errcode;
	}

	public void setErrcode(short errcode) {
		this.errcode = errcode;
	}

}
